#ifndef CLIENTWINDOW_H
#define CLIENTWINDOW_H

#include <QMainWindow>
#include <QButtonGroup>
#include "clientoperation.h"

namespace Ui {
class ClientWindow;
}

class ClientWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit ClientWindow(QWidget *parent = 0);
    ~ClientWindow();

protected:
    void closeEvent(QCloseEvent *event);

private slots:
    void on_startTask_clicked();

private:
    Ui::ClientWindow *ui;
    QButtonGroup m_btnGroup;
    QAbstractButton* m_prev;
    int m_index;    // 记录当前用户选择的什么请求
    ClientOperation* m_cliOP;
};

#endif // CLIENTWINDOW_H
